home *** CD-ROM | disk | FTP | other *** search
- Path: news.iag.net!news
- From: jatmon@iag.net (John R Buchan)
- Newsgroups: comp.lang.c
- Subject: Re: Use of getch()...
- Date: 20 Jan 1996 22:03:34 GMT
- Organization: Internet Access Group, Orlando, Florida
- Message-ID: <4drorm$cr@news.iag.net>
- References: <4do95b$jio@klein.delphi.com>
- NNTP-Posting-Host: pm1-orl30.iag.net
- X-Newsreader: WinVN 0.99.7
-
- In article <4do95b$jio@klein.delphi.com>, stucros@mci.newscorp.com says...
- ->
- ->I need to use the function getch() in a loop but I also need for a null
- ->character to be returned during each iteration if the user has not
- ->entered a character. I need this so that the program will not stop and
- ->wait for input at the point that I have getch() in the routine. Is this
- ->possible?
- ->Thanks
- ->Stu
- ->
-
- getch() is not an ansi c function. So, by strict definition, this should
- asked in a different group. However... I suspect you'll find kbhit() or
- something similar on your compiler. It should do want you want.
-
- --
- John R Buchan -:|:- Looking for that elusive FAQ? ftp to:
- jatmon@mail.iag.net -:|:- rtfm.mit.edu /pub/usenet-by-group/....
-
-